<!DOCTYPE html>
<html>
<head>
    <meta name="layout" content="main"/>
    <g:set var="entityName" value="${message(code: 'mortgageCollectionRecord.label', default: 'MortgageCollectionRecord')}"/>
    <title>项目详情</title>
</head>

<body>
<div class="small-header">
    <div class="hpanel">
        <div class="panel-body">
            <div id="hbreadcrumb" class="pull-right navFloatRight">
                <ol class="hbreadcrumb breadcrumb">
                    <li>
                        <span>CINDATA PLS</span>
                    </li>
                    <li>
                        <g:link controller="account" action="externalAccountShow"><span>机构详情</span></g:link>
                    </li>
                    <li class="active">
                        <span>项目详情</span>
                    </li>
                </ol>
            </div>
        </div>
    </div>
</div>

<g:if test="${flash.message}">
    <div class="message alert alert-info" role="status">${flash.message}</div>
</g:if>
<g:hasErrors bean="${this.mortgageCollectionRecord}">
    <ul class="errors" role="alert">
        <g:eachError bean="${this.mortgageCollectionRecord}" var="error">
            <li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message
                    error="${error}"/></li>
        </g:eachError>
    </ul>
</g:hasErrors>

<div class="content animate-panel">
    <div class="row">
        <div class="hpanel hblue">
            <div class="panel-heading">
                催收处置详情
            </div>

            <div class="panel-body form-horizontal">

                <div class="form-group">

                    <label class="col-md-5 control-label ">借款人</label>
                    <div class="col-md-3">
                        <span class="cont">${riskWarning?.mortgage?.borrName}</span>
                    </div>

                </div>

                <div class="form-group">
                    <label class="col-md-5 control-label ">借款人联系方式</label>
                    <div class="col-md-3">
                        <span class="cont">${riskWarning?.mortgage?.borrPhone}</span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-5 control-label ">借款人家庭地址</label>
                    <div class="col-md-3">
                        <span class="cont">${riskWarning?.mortgage?.borrAddress}</span>
                    </div>
                </div>

                <div class="form-group">

                    <label class="col-md-5 control-label ">贷款编号</label>
                    <div class="col-md-3">
                        <span class="cont">${riskWarning?.mortgage?.serialNumber}</span>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-md-5 control-label ">催收开始时间</label>
                    <div class="col-md-3">
                        <span class="cont"><g:formatDate date="${riskWarning?.startTime}" format="yyyy-MM-dd" ></g:formatDate></span>
                    </div>
                </div>

                <div class="form-group">
                    <label class="col-md-5 control-label ">催收结束时间</label>
                    <div class="col-md-3">
                        <span class="cont"><g:formatDate date="${riskWarning?.endTime}" format="yyyy-MM-dd" ></g:formatDate></span>
                    </div>

                </div>
                    <div class="form-group">
                        <label class="col-md-5 control-label ">催收措施</label>
                        <div class="col-md-3">
                            <span class="cont">${riskWarning?.disposalMethod?.name}</span>
                        </div>
                        <input type="hidden" name="department" id="department" value="${riskWarning?.disposalDepartment?.name}"/>
                        <input type="hidden" name="fullName" id="fullName" value="${riskWarning?.disposalUser?.fullName}"/>
                        <input type="hidden" name="mortgage" id="mortgage" value="${riskWarning?.mortgage?.id}"/>
                    </div>
                    <g:if test="${riskWarning?.disposalDepartment?.name=='委外部'}">
                        <div class="form-group">
                            <label class="col-md-5 control-label ">委外机构</label>
                            <div class="col-md-3">
                                <span class="cont">${mortgageCollectionRecord?.agencyAccount}</span>
                            </div>
                        </div>
                    </g:if>

                    <div class="form-group">
                        <label class="col-md-5 control-label ">逾期后果提示</label>
                        <div class="col-md-3">
                            <span class="cont">${mortgageCollectionRecord?.isRemindedConsequence?'已提示':'未提示'}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-5 control-label ">逾期原因</label>
                        <div class="col-md-3">
                            <span class="cont">${this.mortgageCollectionRecord?.reasonOfOverdue}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-5 control-label ">客户约定还款计划</label>
                        <div class="col-md-3">
                            <span class="cont">${this.mortgageCollectionRecord?.repaymentPlan}</span>
                        </div>
                    </div>
                    <div class="form-group">
                        <label class="col-md-5 control-label ">催收结果</label>
                        <div class="col-md-3">
                            <span class="cont">${this.mortgageCollectionRecord?.collectionResult}</span>
                        </div>
                    </div>
            </div>

        </div>
    </div>
</div>





</body>
</html>
